package cn.com.sd.system.service;

import java.util.List;

import cn.com.sd.common.util.Page;
import cn.com.sd.system.model.Operator;

public interface IOperatorService {

	Integer getOperatorCount();
	
	List<Operator> list(Page page) throws Exception;
	
	/**
	 * 验证用户
	 * @param operator
	 * @return
	 */
	Operator validateLogin(Operator operator);
	
	Operator getDetail(Integer id);
	
	Boolean saveOrUpdate(Operator operator) throws Exception;
	
	Boolean del(Integer id);
	
	Boolean delBanch(List<Integer> ids);
}
